package entity;

import java.util.Date;
import java.util.List;

public class WeiBo {
    private int wid;
    private User wuser;
    private String wtext;
    private Date wdate;
    private String wfujian;//这是个url
    private int wzhuant;
    private int liulannum;
    private HuaTi hid;
    private boolean wdelete;
    private int power;
    private List<String> photoaddress;//存放照片地址
    private int fujianbiaoji ;//附件存放内容  1:照片 2：视频

    public WeiBo() {
    }

    @Override
    public String toString() {
        return "WeiBo{" +
                "wid=" + wid +
                ", wuser=" + wuser +
                ", wtext='" + wtext + '\'' +
                ", wdate=" + wdate +
                ", wfujian='" + wfujian + '\'' +
                ", wzhuant=" + wzhuant +
                ", liulannum=" + liulannum +
                ", hid=" + hid +
                ", wdelete=" + wdelete +
                ", power=" + power +
                '}';
    }

    public WeiBo(int wid) {
        this.wid = wid;
    }

    public List<String> getPhotoaddress() {
        return photoaddress;
    }

    public void setPhotoaddress(List<String> photoaddress) {
        this.photoaddress = photoaddress;
    }

    public int getFujianbiaoji() {
        return fujianbiaoji;
    }

    public void setFujianbiaoji(int fujianbiaoji) {
        this.fujianbiaoji = fujianbiaoji;
    }

    public int getWid() {
        return wid;
    }

    public void setWid(int wid) {
        this.wid = wid;
    }

    public User getWuser() {
        return wuser;
    }

    public void setWuser(User wuser) {
        this.wuser = wuser;
    }

    public String getWtext() {
        return wtext;
    }

    public void setWtext(String wtext) {
        this.wtext = wtext;
    }

    public Date getWdate() {
        return wdate;
    }

    public void setWdate(Date wdate) {
        this.wdate = wdate;
    }

    public String getWfujian() {
        return wfujian;
    }

    public void setWfujian(String wfujian) {
        this.wfujian = wfujian;
    }

    public int getWzhuant() {
        return wzhuant;
    }

    public void setWzhuant(int wzhuant) {
        this.wzhuant = wzhuant;
    }

    public int getLiulannum() {
        return liulannum;
    }

    public void setLiulannum(int liulannum) {
        this.liulannum = liulannum;
    }

    public HuaTi getHid() {
        return hid;
    }

    public void setHid(HuaTi hid) {
        this.hid = hid;
    }

    public boolean isWdelete() {
        return wdelete;
    }

    public void setWdelete(boolean wdelete) {
        this.wdelete = wdelete;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }
}
